<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<h1><?php echo $sf_user->getAttribute('mensaje') ?></h1>

<form action="<?php echo url_for('atributos/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?beca_id='.$form->getObject()->getBecaId().'&atributo_id='.$form->getObject()->getAtributoId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
  <table>    
      <thead>
          <tr>
              <th colspan="2"><h2 id="titulo_form"><?php echo $title?></h2></th>                            
          </tr>          
          <tr>
              <th colspan="2"><h1 id="titulo_form"><?php echo $answer?></h1></th>              
          </tr>          
      </thead>
  <tbody>        
        <tr><?php echo $form ?></tr>
  </tbody>
  <tfoot>
      <tr>
          <td colspan="2"><input type="submit" title="Haga clic aqui guardar la informacion" value="Guardar"/></td>  
      </tr>
  </tfoot>
  </table>
  </form>
    
  <table>
     <tbody>
        <tr>
        </tr> 
        </tbody>            
  </table>